package com.qys.livesMall.app.user.model.dto.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;


/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/04/20
 * Time: 16:34
 * DESCRIPTION: 用户注册
 */
@Data
public class AppUserRegisterDTO {

    @Schema(description = "用户名")
    @NotBlank
    private String username;

    @Schema(description = "密码")
    @NotBlank
    private String password;

    @Schema(description = "邀请码")
    @NotBlank
    private String inviteCode;

    @Schema(description = "谷歌账号")
    private String googleAccount;

    @Schema(description = "脸书账号")
    private String facebookAccount;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "短信验证码")
    private String smsCode;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "邮箱")
    private String email;
}
